package edu.gdkm.extendsdemo;

public class Test {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();
        teacher.setId("9527");
        teacher.setName("刘溜溜");
        teacher.setCourse("Java");
        teacher.say();

        Student student =new Student();
        student.setId("8869");
        student.setName("伍佰");
        student.setMajor("软件");
        student.say();
        student.study();

        Assistant assistant = new Assistant();
        assistant.setId("8888");
        assistant.setName("张三");
        assistant.setSex("男");
        assistant.say();
        assistant.checkRoom();

        Staff staff =new Staff();
        staff.setId("1234");
        staff.setName("赵丽颖");
        staff.setManagerment("后勤");
        staff.say();
        staff.manager();
        System.out.println(staff);


        Staff staff2 =new Staff();
        staff2.say();

    }
}
